#!/usr/bin/env bash

# use aliyun yum source
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean


# update yum
yum update -y
yum install dos2unix -y
yum install wget -y


# install git
sudo yum install git-core -y
git config --global user.name weizhiqimail
git config --global user.email weizhiqimail@foxmail.com
echo "git install successfully"
